Contents | < Browse | Browse >
chab_scale.yafa

This animation part is almost like the chab_wipe.yafa anim! Only the size
and position of the chb pictures differ!

{wftut:halve_size/results/chab_scale.yafa}

Variable:      breite
Points:         2
Nr. 1:          0,   88  [176] ... halve size at the start
Nr. 2:         60,  176  [352] ... full size at the end!
Interpolation: linear

Variable:      hoehe
Points:         2
Nr. 1:          0,   72  [144] ... halve size at the start
Nr. 2:         60,  144  [288] ... full size at the end!
Interpolation: linear

Variable:      left
Points:         2
Nr. 1:          0,   44  [88] ... Start -> CHB centred
Nr. 2:         60,    0       ... End   -> CHB left
Interpolation: linear

Variable:      top
Points:         2
Nr. 1:          0,   36  [72] ... Start -> CHB centred
Nr. 2:         60,    0       ... End   -> CHB top
Interpolation: linear

Now add the following effects:

{ADD LOADIMAGE}
{ADD SCALE}
{ADD COMPOSE}

Make the following selections:

Loadimage:

{SEQUENCE wftut:halve_size/frames/chB/pic}
{OUTPUT Temp1}
{REPEAT AT 60}

Scale:

{INPUT Temp1}   ... input picture
{OUTPUT Temp1}  ... Output picture
{WIDTH breite}  ... width
{HEIGHT hoehe}  ... height
{TYPE pixels}   ... Values in Pixel
{ASPECT ignore} ... Aspect will be ignored

Compose:

{BACKGROUND Stream}
{FOREGROUND Temp1}
{DESTINATION Stream}
{LEFT left}
{TOP top}
{MIX 100}
{CENTREX off}        ... pics will NOT be centred
{CENTREY off}        ... pics will NOT be centred

{GENLOCK SingleColor}
{ALL RGB-VALUES  0}

Start CONVERT!

Do you feel it?

Move on to  Part 7 .